package com.example.boot.rtorder.service;

import java.util.List;

import com.example.boot.rtorder.model.RtOrder;
import com.example.boot.rtorder.vo.UserOrderEntity;

public interface RtOrderService {

	/**
	 * 添加订单
	 * 
	 * @param orderStr
	 * @param detailList
	 * @return
	 * @throws Exception
	 */
	public boolean addOrder(String orderStr, String detailList) throws Exception;

	/**
	 * 用户所有订单
	 * 
	 * @param openId
	 * @return
	 * @throws Exception
	 */
	public List<UserOrderEntity> userOrder(String openId) throws Exception;
}
